<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>DOM 1</title>
</head>
<body>
    <div id="test">
        <p class="red">111</p>
        <p>222</p>
        <p>333</p>
        <p>444</p>
        <p>555</p>
        <p>666</p>
    </div>

    <div id="test2">
        <p class="red">呵呵呵</p>
    </div>

    <!-- <div id="empty">
        <div>1</div>
        <span>2</span>
        <span>3</span>
        <div>4</div>
    </div> -->

    <script src="./dom.js"></script>
    <script src="./main.js"></script>
</body>
</html>